source ~/.bashrc


dir=/home/node54_tmpdata/yzli/wenet_whisper_finetune/examples/wenetspeech/whisper/exp/qwen2_multi_task_6gpus_gxl_adapter_init_asr-sot_whisper
dir=/home/node54_tmpdata/yzli/wenet_whisper_finetune/examples/wenetspeech/whisper/exp/qwen2_multi_task_2_6gpus_gxl_adapter_init_asr-sot_whisper
dir=/home/node54_tmpdata/xlgeng/ckpt/wenet_whisper_finetune/qwen2_multi_task_3_6gpus_gxl_adapter

# for special set
test_data_dir='/home/node54_tmpdata/xlgeng/code/wenet_whisper_finetune_xlgeng/examples/wenetspeech/whisper/data/test_sets'

ckpt_name='epoch_6.pt'
data_type='raw' # 'shard_full_data'
lang=zh  # en zh
prompt_file=conf/prompt_stage3.yaml



gpu_id=0
task='<TRANSCRIBE><ALIGN>'
data_type='raw' # 'shard_full_data'
test_sets="align/aishell2/split_8/index_${gpu_id}" # 15000
test_sets="${test_sets// /---}"
my_named_nohup $task"_"$gpu_id"_"$ckpt_name bash gxl_decode/decode_common_gxl.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --task "$task" --lang $lang --prompt_file $prompt_file

gpu_id=1
task='<TRANSCRIBE><ALIGN>'
data_type='raw' # 'shard_full_data'
test_sets="align/aishell2/split_8/index_${gpu_id}" # 15000
test_sets="${test_sets// /---}"
my_named_nohup $task"_"$gpu_id"_"$ckpt_name bash gxl_decode/decode_common_gxl.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --task "$task" --lang $lang --prompt_file $prompt_file

gpu_id=2
task='<TRANSCRIBE><ALIGN>'
data_type='raw' # 'shard_full_data'
test_sets="align/aishell2/split_8/index_${gpu_id}" # 15000
test_sets="${test_sets// /---}"
my_named_nohup $task"_"$gpu_id"_"$ckpt_name bash gxl_decode/decode_common_gxl.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --task "$task" --lang $lang --prompt_file $prompt_file

gpu_id=3
task='<TRANSCRIBE><ALIGN>'
data_type='raw' # 'shard_full_data'
test_sets="align/aishell2/split_8/index_${gpu_id}" # 15000
test_sets="${test_sets// /---}"
my_named_nohup $task"_"$gpu_id"_"$ckpt_name bash gxl_decode/decode_common_gxl.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --task "$task" --lang $lang --prompt_file $prompt_file


gpu_id=4
task='<TRANSCRIBE><ALIGN>'
data_type='raw' # 'shard_full_data'
test_sets="align/aishell2/split_8/index_${gpu_id}" # 15000
test_sets="${test_sets// /---}"
my_named_nohup $task"_"$gpu_id"_"$ckpt_name bash gxl_decode/decode_common_gxl.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --task "$task" --lang $lang --prompt_file $prompt_file


gpu_id=5
task='<TRANSCRIBE><ALIGN>'
data_type='raw' # 'shard_full_data'
test_sets="align/aishell2/split_8/index_${gpu_id}" # 15000
test_sets="${test_sets// /---}"
my_named_nohup $task"_"$gpu_id"_"$ckpt_name bash gxl_decode/decode_common_gxl.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --task "$task" --lang $lang --prompt_file $prompt_file


gpu_id=6
task='<TRANSCRIBE><ALIGN>'
data_type='raw' # 'shard_full_data'
test_sets="align/aishell2/split_8/index_${gpu_id}" # 15000
test_sets="${test_sets// /---}"
my_named_nohup $task"_"$gpu_id"_"$ckpt_name bash gxl_decode/decode_common_gxl.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --task "$task" --lang $lang --prompt_file $prompt_file


gpu_id=7
task='<TRANSCRIBE><ALIGN>'
data_type='raw' # 'shard_full_data'
test_sets="align/aishell2/split_8/index_${gpu_id}" # 15000
test_sets="${test_sets// /---}"
my_named_nohup $task"_"$gpu_id"_"$ckpt_name bash gxl_decode/decode_common_gxl.sh  --data_type $data_type --test_sets "$test_sets" --test_data_dir $test_data_dir --gpu_id $gpu_id --dir $dir --ckpt_name $ckpt_name --task "$task" --lang $lang --prompt_file $prompt_file
